home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / EnterCD 06_2004.iso / Internet / Bloomba 1.0.6 / Bloomba1706Installer.exe / saproxy / Disk1 / data1.cab / rules / regression_tests.cf < prev    next >
Encoding:
Text File  |  2004-03-01  |  4.8 KB  |  103 lines

  1. # SpamAssassin rules file: regression tests
  2. #
  3. # This file contains tests perfomed on `make test`. It should not be
  4. # distributed.
  5. #
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of either the Artistic License or the GNU General
  8. # Public License as published by the Free Software Foundation; either
  9. # version 1 of the License, or (at your option) any later version.
  10. #
  11. # See the file "License" in the top level of the SpamAssassin source
  12. # distribution for more details.
  13. #
  14. ###########################################################################
  15.  
  16. test DEAR_SOMETHING ok Dear IT professional,
  17. test DEAR_SOMETHING ok Dear Internet Investor:
  18. test DEAR_FRIEND ok Dear friend,
  19. test DEAR_FRIEND fail Dear Mr. Ithacus,
  20.  
  21. test FROM_ENDS_IN_NUMS     ok   matt1234@sergeant.org
  22. test FROM_ENDS_IN_NUMS     fail matt@sergeant.org
  23. test FROM_STARTS_WITH_NUMS     ok   1234matt@sergeant.org
  24. test FROM_STARTS_WITH_NUMS     fail matt@sergeant.org
  25. test FORGED_YAHOO_RCVD fail by mf1.lng.yahoo.com (8.11.1/8.11.1) id g3SDfPH19426
  26. test NUMERIC_HTTP_ADDR ok http://123456789/foo/bar
  27. #test SEARCH_ENGINE_PROMO ok    evaluated for FREE for its keyword placement in the top twenty major search engines
  28.  
  29. test US_DOLLARS fail $-$NFbMF$K!"A49q$+$iLd$$9g$o$;$,;&E~$7$F$$$^$9!#
  30. test US_DOLLARS ok Twenty Million Five Hundred Thousand United States Dollars
  31. test US_DOLLARS ok Eight million, Five Hundred United States dollars
  32. test US_DOLLARS ok One Million, Five Hundred Thousand U. S.  Dollars
  33. test US_DOLLARS ok EIHGTEEN MILLION UNITED STATE DOLLARS
  34. test US_DOLLARS ok 24million U.S dollars cash
  35. test US_DOLLARS ok 47 million US DOLLARS
  36. test US_DOLLARS ok FIVE MILLION FIVE HOUNDRED THOUSAND CANADIAN DOLLAS)
  37.  
  38. test US_DOLLARS_2 fail JP charset test: this should not match: $1 $
  39. test US_DOLLARS_2 fail JP charset test: this should not match: $1$
  40. test US_DOLLARS_2 fail $-$NFbMF$K!"A49q$+$iLd$$9g$o$;$,;&E~$7$F$$$^$9!#
  41. test US_DOLLARS_2 ok of USD$17.4M only
  42. test US_DOLLARS_2 ok amount $21.5m represents
  43. test US_DOLLARS_2 ok of US$26.4 million
  44. test US_DOLLARS_2 ok the $21.5 million,
  45.  
  46. test US_DOLLARS_3 fail $-$NFbMF$K!"A49q$+$iLd$$9g$o$;$,;&E~$7$F$$$^$9!#
  47. test US_DOLLARS_3 ok OF US$75,000,000.00 ( SEVENTYFIVE
  48. test US_DOLLARS_3 ok DOLLAR(USD$30,000,000,00.)
  49. test US_DOLLARS_3 ok ($21,500,000.)
  50. test US_DOLLARS_3 ok ($ 152,000.000.00)
  51.  
  52. # note: have to use "." instead of "#", as it's the comment char
  53.  
  54. test SAVE_ON_INSURANCE      ok Compare and Save Instantly On Your Auto Insurance
  55.  
  56. test TRACKER_ID     ok          2174Hzdm0-105YUqT8863DiDg0-616mqbE4931HEBc0-732qBHd6314l52
  57. test TRACKER_ID     ok          ofsknxxdqgtgqvsoiytkivajvtj
  58. test TRACKER_ID     fail        <!-- ADMINISTRIVIA -->
  59. test TRACKER_ID     fail        Donau-Dampfschifffahrts-Kapitaen
  60.  
  61. test __OBFUSCATING_COMMENT ok     This is a te<!--foo-->st
  62. test __OBFUSCATING_COMMENT fail   Not a <!-- problem --> here
  63. test __OBFUSCATING_COMMENT fail   or<!--problem--> here
  64. test __OBFUSCATING_COMMENT fail   This <tag><!-- neither --></tag> I hope
  65.  
  66. test HIDE_WIN_STATUS ok <a href=foo onMouseOver="window.status='bar';>
  67. test HIDE_WIN_STATUS fail attributes like href=foo onMouseOver="window.status='bar'"
  68. test HIDE_WIN_STATUS fail attributes like href=foo onMouseOver="flashiness"
  69.  
  70. test LINK_TO_NO_SCHEME ok <a href=www.foo.com/>foo</a>
  71. test LINK_TO_NO_SCHEME ok <a href='www.foo.com'>foo</a>
  72. test LINK_TO_NO_SCHEME ok <a href="www.geocities.com/somecrap">foo</a>
  73. test LINK_TO_NO_SCHEME fail <a href=http://www.foo.com/>foo</a>
  74. test LINK_TO_NO_SCHEME fail <a href="http://www.foo.com">foo</a>
  75. test LINK_TO_NO_SCHEME fail <a href="nextpage.html">foo</a>
  76. test LINK_TO_NO_SCHEME fail <a href="../index.html">foo</a>
  77.  
  78. test HTML_WIN_OPEN ok <script> win=window.open("http://foo/") win.blur() window.focus() </script>
  79. test HTML_WIN_OPEN ok <body onload='win=window.open("http://foo/")'>
  80. test HTML_WIN_OPEN fail The window.open() function
  81.  
  82. test HTML_WIN_BLUR ok <script> win=window.open("http://foo/") win.blur() window.focus() </script>
  83. test HTML_WIN_BLUR ok <body onload='win=window.open("http://foo/"); win.blur()'>
  84. test HTML_WIN_BLUR fail The win.blur() function
  85.  
  86. test BAD_CREDIT ok   no credit checks
  87. test BAD_CREDIT ok   reestablish credit
  88. test BAD_CREDIT ok   establish good credit
  89. test BAD_CREDIT ok   repair your credit
  90. test BAD_CREDIT fail NOTICE: Your credit card company may place the words "San Antonio"
  91.  
  92. test NEW_DOMAIN_EXTENSIONS ok   new domain extension
  93. test NEW_DOMAIN_EXTENSIONS ok   new .NAME domain extension
  94. test NEW_DOMAIN_EXTENSIONS ok   New TLD Extension
  95. test NEW_DOMAIN_EXTENSIONS ok   new extension
  96. test NEW_DOMAIN_EXTENSIONS fail newt extension
  97. test NEW_DOMAIN_EXTENSIONS fail renew extension
  98.  
  99. test DOMAIN_BODY ok   Get .BIZ while it's hot!
  100. test DOMAIN_BODY ok   .info
  101. test DOMAIN_BODY ok   Get new .us domains
  102. test DOMAIN_BODY fail www.fobar.biz
  103.